home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / Clear / DLLClient / MkClientOs
Text File  |  1995-09-04  |  2KB  |  94 lines

  1.  
  2. ObjectFiles    =        \
  3.             o.Create    \
  4.             o.Free    \
  5.             o.Init    \
  6.             o.Load    \
  7.             o.Save    \
  8.  
  9.  
  10. LibName        =    Clear
  11.  
  12.  
  13.  
  14. # Template makefile to make all .o files
  15. # for a DeskLib sublibrary. Compilation 
  16. # is for static linking with client
  17. # applications (ie not cc -zM but
  18. # _DeskLib_SDLS_CLIENT is predefined).
  19.  
  20. # The macro $(ObjectFiles) should be set at the 
  21. # start of this file, to be a space-separated
  22. # list of object files.
  23. # This is done by 'Makatic'.
  24.  
  25. # The macro $(LibName) should also be set at the 
  26. # start of this file, to be the name of the 
  27. # DeskLib sublibrary.
  28.  
  29. # Compiler flags, These can be anything. 
  30. # All essential flags (eg CC -zM
  31. # are included in the macro $(CC).
  32. #
  33. CCFlags        =    -fahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_SDLS_CLIENT -D_DeskLib_$(LibName) -I,C:
  34. ASMFlags    =    -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
  35.  
  36. CC        =    cc -c $(CCFlags)
  37. ASM        =    ObjAsm $(ASMFlags)
  38.  
  39.  
  40. # -------------------------------------------------------
  41. # Everything below here should probably not be changed...
  42. # -------------------------------------------------------
  43.  
  44. # Here's what we want to make...
  45. #
  46. All:    $(ObjectFiles)
  47.  
  48.  
  49. VPATH = @.^
  50.  
  51. .SUFFIXES:    .o .c .s
  52.  
  53. .c.o:
  54.     $(CC) -o $@ $<
  55.  
  56. .s.o:
  57.     $(ASM) $(ASMFlags) -from $< -to $@
  58.  
  59.  
  60.  
  61. # Dynamic dependencies:
  62. o.Create:    ^.c.Create
  63. o.Create:    DeskLib:h.Clear
  64. o.Create:    DeskLib:h.Wimp
  65. o.Create:    DeskLib:h.Core
  66. o.Create:    DeskLib:h.Mem
  67. o.Create:    DeskLib:h.Clear
  68. o.Create:    ^.h.ClearDefs
  69. o.Free:    ^.c.Free
  70. o.Free:    DeskLib:h.Clear
  71. o.Free:    DeskLib:h.Wimp
  72. o.Free:    DeskLib:h.Core
  73. o.Free:    DeskLib:h.Mem
  74. o.Init:    ^.c.Init
  75. o.Init:    DeskLib:h.Clear
  76. o.Init:    DeskLib:h.Wimp
  77. o.Init:    DeskLib:h.Core
  78. o.Init:    ^.h.ClearDefs
  79. o.Load:    ^.c.Load
  80. o.Load:    DeskLib:h.Clear
  81. o.Load:    DeskLib:h.Wimp
  82. o.Load:    DeskLib:h.Core
  83. o.Load:    DeskLib:h.File
  84. o.Load:    DeskLib:h.SWI
  85. o.Load:    DeskLib:h.Mem
  86. o.Save:    ^.c.Save
  87. o.Save:    DeskLib:h.Clear
  88. o.Save:    DeskLib:h.Wimp
  89. o.Save:    DeskLib:h.Core
  90. o.Save:    DeskLib:h.File
  91. o.Save:    DeskLib:h.SWI
  92. o.Save:    DeskLib:h.Wimp
  93.